package pers.youqu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/12/3 17:54
 * @Description TODO
 */
@SpringBootApplication
@EnableEurekaServer
public class YqRegistryApplication {
    public static void main(String[] args) {
        // main方法参数的作用，在运行jar包时传入参数
        SpringApplication.run(YqRegistryApplication.class, args);
        System.out.println("============EurekaServer启动=============");
    }
}
